package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easy.common.bean.SeatPriceBean;

import java.util.List;

public interface ISeatPriceService extends IService<SeatPriceBean> {

    SeatPriceBean getSeatPriceById(Integer id);
    SeatPriceBean getSeatPriceBySeatId(Integer seatId);
    Integer addSeatPrice(SeatPriceBean seatPrice);
    Integer updateSeatPrice(SeatPriceBean seatPrice);
    Integer deleteSeatPrice(Integer id);
    List<SeatPriceBean> getAll(SeatPriceBean seatPrice);
    IPage<SeatPriceBean> getPage(SeatPriceBean seatPrice, Page<SeatPriceBean> page);
}
